glcontext: Simplify get_required_version api
authorPablo Correa Gómez <ablocorrea@hotmail.com>
Mon, 30 May 2022 18:18:15 +0000 (20:18 +0200)
committerPablo Correa Gómez <ablocorrea@hotmail.com>
Sat, 4 Jun 2022 18:48:40 +0000 (20:48 +0200)
commitc4feca13118fa4a1e2d263c76458fa60de9a608e
tree3ead416c03509e8f05f92fb09e5adcf3393a0910
parent9426b20759d81673ccecf0de35d307878acdddcf
glcontext: Simplify get_required_version api

Simplify the API to just return the requirements that the user
has asked for. The rest of the code was undocumented and previously
used as a buggy source for a default value from internal code.
Since the buggy code is now fixed, remove all unnecessary cruft.
gdk/gdkglcontext.c